from django.urls import path
from . import views

app_name = 'todo'

urlpatterns = [
    path('', views.index, name='index'),
    path('create/', views.create_todo, name='create'),
    path('edit/<int:todo_id>/', views.edit_todo, name='edit'),
    path('delete/<int:todo_id>/', views.delete_todo, name='delete'),
    path('toggle/<int:todo_id>/', views.toggle_todo, name='toggle'),
    path('categories/', views.manage_categories, name='manage_categories'),
]

